package com.vancouver.knows.business.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.pangu.bean.IInfo;

import java.util.List;

/**
 * 城事对象
 * 
 * @author chenxunlin01
 * 
 */
public class CityNewsInfo implements IInfo {

	private static final long serialVersionUID = 1L;

	@JSONField(name = "post_id")
	private String id;
	@JSONField(name = "post_title")
	private String title;
	@JSONField(name = "follow_count")
	private int followCount;
	@JSONField(name = "post_date_gmt")
	private String dateGmt;
	@JSONField(name = "post_attachment_image")
	private String attachmentImage;
	@JSONField(name = "post_type")
	private String type;
	@JSONField(name = "post_category")
	private String[] category;
	@JSONField(name = "upvote_count")
	private int upvoteCount;
	@JSONField(name = "post_source_author")
	private String sourceAuthor;
	@JSONField(name = "post_source_name")
	private String sourceName;
	@JSONField(name = "post_source_url")
	private String sourceUrl;
	@JSONField(name = "user_upvoted")
	private String userUpvoted;
	@JSONField(name = "comment_count")
	private int commentCount;
	@JSONField(name = "post_author")
	private String author;
	@JSONField(name = "post_author_avatar")
	private String avatar;
	@JSONField(name = "post_content_summary")
	private String contentSummary;
	@JSONField(name = "post_source_image")
	private String sourceImage;
	@JSONField(name = "userpost_attachment_image_array")
	private List<String> userpostAttachmentImages;


	private CityNewsDetailInfo cityNewsDetailInfo;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getFollowCount() {
		return followCount;
	}

	public void setFollowCount(int followCount) {
		this.followCount = followCount;
	}

	public String getDateGmt() {
		return dateGmt;
	}

	public void setDateGmt(String dateGmt) {
		this.dateGmt = dateGmt;
	}

	public String getAttachmentImage() {
		return attachmentImage;
	}

	public void setAttachmentImage(String attachmentImage) {
		this.attachmentImage = attachmentImage;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String[] getCategory() {
		return category;
	}

	public void setCategory(String[] category) {
		this.category = category;
	}

	public int getUpvoteCount() {
		return upvoteCount;
	}

	public void setUpvoteCount(int upvoteCount) {
		this.upvoteCount = upvoteCount;
	}

	public String getSourceAuthor() {
		return sourceAuthor;
	}

	public void setSourceAuthor(String sourceAuthor) {
		this.sourceAuthor = sourceAuthor;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getSourceUrl() {
		return sourceUrl;
	}

	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}

	public CityNewsDetailInfo getCityNewsDetailInfo() {
		return cityNewsDetailInfo;
	}

	public void setCityNewsDetailInfo(CityNewsDetailInfo cityNewsDetailInfo) {
		this.cityNewsDetailInfo = cityNewsDetailInfo;
	}

	public String getUserUpvoted() {
		return userUpvoted;
	}

	public void setUserUpvoted(String userUpvoted) {
		this.userUpvoted = userUpvoted;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getContentSummary() {
		return contentSummary;
	}

	public void setContentSummary(String contentSummary) {
		this.contentSummary = contentSummary;
	}

	public String getSourceImage() {
		return sourceImage;
	}

	public void setSourceImage(String sourceImage) {
		this.sourceImage = sourceImage;
	}

	public List<String> getUserpostAttachmentImages() {
		return userpostAttachmentImages;
	}

	public void setUserpostAttachmentImages(List<String> userpostAttachmentImages) {
		this.userpostAttachmentImages = userpostAttachmentImages;
	}
}
